/**
 * 
 */
package com.bitBusy.manageyourriches.database.tables;

/**
 * @author SumaHarsha
 *
 */
public enum PaymentReminders implements TableDefinition{

		DAYOFMONTH("dayOfMonth", " INTEGER NOT NULL"),
		MONTH("month", " INTEGER NOT NULL"),
		YEAR("year", " INTEGER NOT NULL"),
		HOUR("hour", " INTEGER NOT NULL"),
		MINUTE("minute", " INTEGER NOT NULL"), 
		NOTE("note", " TEXT"),
		RECURRENT("recurrent", " INTEGER"),
		MONTHLY("monthly", " INTEGER"),
		EMAIL("email", " TEXT"),
		UNIQUEID("id", " INTEGER"),
		PRIMARYKEYSPEC("PRIMARY KEY", "(dayOfMonth, month, year, hour, minute,recurrent, monthly, email)");

		private String name;
		private String datatype;
		
		private PaymentReminders(String the_name, String the_datatype)
		{
			name = the_name;
			datatype = the_datatype;
		}
		public String getName()
		{
			return name;
		}
		public String getType()
		{
			return datatype;
		}
}
